package com.aiden.cashbook.widget

import `in`.srain.cube.views.ptr.PtrFrameLayout
import `in`.srain.cube.views.ptr.PtrUIHandler
import android.content.Context
import android.util.AttributeSet

class CustomPtrFrameLayout(context: Context?, attrs: AttributeSet?) : PtrFrameLayout(context, attrs) {

    init {
        val ptrHeader = CustomRefreshHeader(context)
        headerView = ptrHeader

        addPtrUIHandler(headerView as PtrUIHandler)
    }
}